﻿using System;

namespace CSharp
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                lblMsg.Text = Convert.ToString(RouteData.Values["sSID"]);

            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            ListBox1.GetSelectedIndices();
            String str = "1,34,22";
            string[] s = str.Split(new char[] { ',' });
            foreach (string lst in s)
            {
                ListBox1.Items.FindByValue(lst.ToString()).Selected = true;
            }
        }


    }
}